﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    [Serializable]
    public class Cash
    {
        public Cash()
        { }
        #region Model
        private int _id;
        private DateTime _time;
        private string _code;
        private string _type;
        private decimal _starprice;
        private decimal _outprice;
        private decimal _intoprice;
        private decimal _lastprice;
        private string _username;
        private int _inputuserid;
        private DateTime _inputtime;
        private string _marks;
        private string _shuoming;
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 日期
        /// </summary>
        public DateTime Time
        {
            set { _time = value; }
            get { return _time; }
        }
        /// <summary>
        /// 凭证号
        /// </summary>
        public string Code
        {
            set { _code = value; }
            get { return _code; }
        }
        /// <summary>
        /// 摘要
        /// </summary>
        public string Type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 期初金额
        /// </summary>
        public decimal StarPrice
        {
            set { _starprice = value; }
            get { return _starprice; }
        }
        /// <summary>
        /// 借方
        /// </summary>
        public decimal OutPrice
        {
            set { _outprice = value; }
            get { return _outprice; }
        }
        /// <summary>
        /// 贷方
        /// </summary>
        public decimal IntoPrice
        {
            set { _intoprice = value; }
            get { return _intoprice; }
        }
        /// <summary>
        /// 余额
        /// </summary>
        public decimal LastPrice
        {
            set { _lastprice = value; }
            get { return _lastprice; }
        }
        /// <summary>
        /// 经办人
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 录入员
        /// </summary>
        public int InputUserId
        {
            set { _inputuserid = value; }
            get { return _inputuserid; }
        }
        /// <summary>
        /// 录入时间
        /// </summary>
        public DateTime Inputtime
        {
            set { _inputtime = value; }
            get { return _inputtime; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Marks
        {
            set { _marks = value; }
            get { return _marks; }
        }
        /// <summary>
        /// 说明
        /// </summary>
        public string shuoming
        {
            set { _shuoming = value; }
            get { return _shuoming; }
        }
        #endregion Model

    }
}
